/*************************************************************************
	> File Name: P5706.cpp
	> Author: yufangze
	> Mail: 2224590123@qq.com
	> Created Time: 2024-12-19 16:25:01
 ************************************************************************/

#include <iostream>
#include <set>
#include <map>
#include <vector>
#include <algorithm>
#include <cstdio>
using namespace std;

int main() {
    double t;
    int n;
    cin >> t >> n;
    printf("%.3lf\n%d\n", t / n, n * 2);
    return 0;
}
